package com.longshihan.news.model.http;

import com.longshihan.news.model.bean.MsgStauts;

import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;

/**
 * @author Administrator
 * @time 2017/3/20 15:39
 * @des ${TODO}
 * @updateAuthor $Author$
 * @updateDate $Date$
 * @updateDes ${TODO}
 */

public interface LeXianApis {
    String HOST = "http://api.wholesale.zhaioto.com/Staff/";

    String HOST1 = "http://testapi.o2o.zhaioto.com/buyer/v1/";

    /**
     * init接口
     */
    @GET("App.init")
    Observable<String> getDailyList();


    @GET("User.login")
    Observable<String> getLogin(@Query("name")String name, @Query("pw")String pw);

    @POST("msg.status")
    Observable<MsgStauts> getStatus();

}
